<?php
namespace app\common\model;
class Feedback extends Base{
    function cate(){
        return $this->belongsTo('feedbackcate','cate_id')->bind(['cate'=>'name'])->field('id,name');
    }
    function author(){
        return $this->belongsTo('member','uid')->bind(['author'=>'name'])->field('id,name');
    }
}
